<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title></title>
  <meta name="Generator" content="Cocoa HTML Writer">
  <meta name="CocoaVersion" content="949.54">
  <style type="text/css">
    body {background-color: #FFFFFF}
    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 26.0px Helvetica}
    p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
    p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
    p.p4 {margin: 0.0px 0.0px 12.0px 0.0px; font: 12.0px Helvetica}
    p.p5 {margin: 0.0px 0.0px 0.0px 49.0px; font: 12.0px Helvetica}
    p.p6 {margin: 0.0px 0.0px 0.0px 52.0px; font: 12.0px Helvetica}
    p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; min-height: 14.0px}
    span.s1 {color: #0000ed}
    span.s2 {text-decoration: underline}
    span.s3 {color: #0000eb}
    span.Apple-tab-span {white-space:pre}
  </style>
</head>
<body>
<p class="p1"><b>cslider</b></p>
<p class="p2">an horizontal slider.</p>
<p class="p3"><br></p>
<p class="p2"><b>DESCRIPTION</b></p>
<p class="p4">When created, the slider is stacked in the slider pane of the main Cecilia window in the order it is defined. The value of the slider is passed to the orchestra with a variable named <i>gkvariable_name </i>for sliders whose -<b>rate</b> is k and with a variable named<i> givariable_name </i>if the slider has a -<b>rate</b> value of i.<span class="Apple-converted-space">  </span>The -<b>up</b> flag passes the value of the slider on mouse-up if set to 1 or passes on mouse-down if set to 0. The -<b>gliss flag </b>determines the duration of the portamento (in sec).<span class="Apple-converted-space">  </span>The resolution of the slider can be set to int or float using the -<b>res</b> flag. Slider colour can be set using the -<b>col</b> flag and a <a href="./colourArgs.html">colour argument</a>. However, sliders in i-rate are greyed and the <b>-col</b> flag is ignored.</p>
<p class="p2">Every time a slider is defined, a corresponding graph line is automatically defined for the grapher in the Cecilia grapher pane. The recording and playback of an automated slider is linked to its graph line. For further informations, refer to the <a href="./slider.html">Slider</a> section.</p>
<p class="p3"><br></p>
<p class="p2"><b>INTERFACE SYNTAX</b></p>
<p class="p2"><span class="Apple-tab-span">	</span><b>cslider</b></p>
<p class="p2"><b><span class="Apple-tab-span">	</span></b>(compulsory)</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>variable_name</b> (mandatory, no spaces allowed)</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>-label</b> <span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Text showing in Cecilia slider pane (spaces allowed). Default value = ''</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-min</b> <span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Minimum value (numerical). Default value = 0</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-max <span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span></b>Maximum value (numerical). Default value = 1</p>
<p class="p2"><span class="Apple-tab-span">	</span>(optional)</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-init</b> <span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Initial value (numerical). Default value = min value</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-unit</b> <span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Unit symbol showing in Cecilia slider pane (text). Default value = ''</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-res</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Slider resolution {float, int}. Default value = float</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-rate</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Update rates of the csound value {k, i}. Default value = k</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-gliss</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Portamento between values in seconds. Default value = 0.025</p>
<p class="p2"><b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>-rel</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Slider scale {lin, log}. Default value = lin</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>-up</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Value passed on mouse up only (0 = false, 1 = true). Default = 0</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>-midictl</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>MIDI controller number assigned to the slider (numerical). Default value = -1 (None)</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>-col</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Colour of the slider (see <a href="./colourArgs.html">Colour arguments</a>). A default colour is applied by Cecilia</p>
<p class="p2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><b>-help</b><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>Text for tooltips (space allowed) Default value = ''</p>
<p class="p3"><br></p>
<p class="p2"><b>ORCHESTRA SYNTAX</b></p>
<p class="p2"><b><span class="Apple-tab-span">	</span></b>asig oscil <b><i>gkamp</i>, <i>gifreq</i></b><i>,1</i></p>
<p class="p5"><i> </i></p>
<p class="p2"><b><i><span class="Apple-tab-span">	</span>gkamp</i></b> and <b><i>gifreq</i></b> would be values directly obtained from two sliders whose variable names <span class="Apple-tab-span">	</span>are respectively <i>amp</i> with a -<b>rate</b> of i and <i>freq</i> with a -<b>rate</b> of k.</p>
<p class="p3"><br></p>
<p class="p2"><b>EXAMPLES</b></p>
<p class="p2"><span class="Apple-tab-span">	</span><b>cslider </b>gain<b> -label </b>Makeup Gain<b> -min</b> 0.5<b> -max </b>100<b> -init </b>1<b> -rel </b>log<b> -col </b>olivegreen<b> -help </b>Be careful when using with "Restore Amp"</p>
<p class="p2"><span class="Apple-tab-span">	</span><b>cslider </b>num<b> -label </b>Number of Layers<b> -rate </b>k<b> -res </b>int<b> -min </b>1<b> -max </b>20<b> -init </b>5<b> -gliss </b>0<b> -up </b>1<b> -help </b>No. of cascaded filters</p>
<p class="p2"><span class="Apple-tab-span">	</span><b>cslider</b> freq  -<b>label</b> Center Q  -<b>min</b> 0.05 -<b>max</b> 3.0</p>
<p class="p2"><span class="Apple-tab-span">	</span><b>cslider </b>pitch<b> -label </b>Base pitch<b> -min</b> 10<b> -max </b>10000<b> -init </b><i>1</i><b> -rel </b>log<b> -init </b>500<b> -gliss </b>.01<b> -up </b>1<b> -col </b>marineblue //</p>
<p class="p6">                                                        <b>-help </b>Move this slider to make pitch rise or fall</p>
<p class="p7"><br></p>
<p class="p3"><br></p>
<center><p class="p3">Return to <a href="./buildInterface.html">Building Cecilia's Interface</a> section</p></center>
</body>
</html>
